package cn.quang.search.admin.entity.vo.logicdic;




import java.util.List;


public class LogicTableFieldDicRequest {
    
    private long logicTableId;
    
    private long dicBelongTableId;
    
    private List<TableFieldDicRequest> fieldDices;

    public long getLogicTableId() {
        return logicTableId;
    }

    public void setLogicTableId(long logicTableId) {
        this.logicTableId = logicTableId;
    }

    public long getDicBelongTableId() {
        return dicBelongTableId;
    }

    public void setDicBelongTableId(long dicBelongTableId) {
        this.dicBelongTableId = dicBelongTableId;
    }

    public List<TableFieldDicRequest> getFieldDices() {
        return fieldDices;
    }

    public void setFieldDices(List<TableFieldDicRequest> fieldDices) {
        this.fieldDices = fieldDices;
    }

    
    public static final class TableFieldDicRequest {
        
        private long fieldDicId;
        
        private String dic;
        
        private String name;
        
        private int queryFieldType;
        
        private int resultFieldType;
        
        private String resultFieldDefaultValue;
        
        private boolean inTerms;
        
        private boolean supportQuery;
        
        private boolean supportSort;

        public long getFieldDicId() {
            return fieldDicId;
        }

        public void setFieldDicId(long fieldDicId) {
            this.fieldDicId = fieldDicId;
        }

        public String getDic() {
            return dic;
        }

        public void setDic(String dic) {
            this.dic = dic;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getQueryFieldType() {
            return queryFieldType;
        }

        public void setQueryFieldType(int queryFieldType) {
            this.queryFieldType = queryFieldType;
        }

        public int getResultFieldType() {
            return resultFieldType;
        }

        public void setResultFieldType(int resultFieldType) {
            this.resultFieldType = resultFieldType;
        }

        public String getResultFieldDefaultValue() {
            return resultFieldDefaultValue;
        }

        public void setResultFieldDefaultValue(String resultFieldDefaultValue) {
            this.resultFieldDefaultValue = resultFieldDefaultValue;
        }

        public boolean isInTerms() {
            return inTerms;
        }

        public void setInTerms(boolean inTerms) {
            this.inTerms = inTerms;
        }

        public boolean isSupportQuery() {
            return supportQuery;
        }

        public void setSupportQuery(boolean supportQuery) {
            this.supportQuery = supportQuery;
        }

        public boolean isSupportSort() {
            return supportSort;
        }

        public void setSupportSort(boolean supportSort) {
            this.supportSort = supportSort;
        }
    }
}
